<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.org/schema/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:p="http://primefaces.org/ui" template="layout/template.xhtml">
	<ui:define name="body">

		<p:panel id="panel1" header="会议室信息">
			<table cellpadding="3" cellspacing="3">
				<tbody>
					<tr>
						<td style="width: 85px;"><h:outputText value="会议室名称"></h:outputText></td>
						<td style="width: 215px;"><h:outputText
								value="#{meetingRoom.mrName}" /></td>
					</tr>
					<tr>
						<td><h:outputText value="会议室类型" /></td>
						<td><h:outputText value="#{meetingRoom.mrType}" /></td>
					</tr>
					<tr>
						<td><h:outputText value="会议室地址" /></td>
						<td><h:outputText value="#{meetingRoom.mrAddr}" /></td>
					</tr>
					<tr>
						<td><h:outputText value="可容纳人数" /></td>
						<td><h:outputText value="#{meetingRoom.mrSize}" /></td>
					</tr>
					<tr>
						<td><h:outputText value="备注" /></td>
						<td><h:outputText value="#{meetingRoom.mrMemo}" /></td>
					</tr>
				</tbody>
			</table>
		</p:panel>
		<h:form>
			<p:panel id="panel2" rendered="#{!param['delFlg']}">
				<s:button  value="预约" view="/meetingRoomBookingEdit.xhtml"
					rendered="#{meetingRoom.mrId!=null}">
					<f:param name="mrId" value="#{meetingRoom.mrId}" />
				</s:button>
				<h:commandButton value="取消" action="cancel" />
			</p:panel>
		</h:form>
		<br />
		<h:form rendered="#{param['delFlg']}">
			<div style="font-family: NSimSun;font-size:12px; height:20px"><h:outputText value="确定删除吗？" /></div>
			<h:commandButton id="yes1" value="是"
				action="#{meetingRoomAction.delete}" />
			<h:commandButton value="否" action="reset" />
		</h:form>
	</ui:define>
</ui:composition>
